package com.itqf.advice;

/**
 * projectName: springframeworkgp8
 *
 * @author: 赵伟风
 * time: 2021/8/4 11:12
 * description:
 */
public class TransactionAdvice {


    public void before(){
        System.out.println("开启事务");
    }


    public void returningAfter(){
        System.out.println("提交事务");
    }

    public void thorwing(){
        System.out.println("事务回滚");
    }
}
